package com.mdd.front.validate.zdjd;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import java.math.BigDecimal;
import java.math.BigDecimal;
import java.util.Date;
import java.util.Date;
import javax.validation.constraints.*;

@Data
@ApiModel("设备状态变化记录创建参数")
public class TZdjdDeviceStateRecordCreateValidate implements Serializable {

    private static final long serialVersionUID = 1L;

    @NotNull(message = "deviceId参数缺失")
    @ApiModelProperty(value = "设备id")
    private Long deviceId;

    @NotNull(message = "deviceUuid参数缺失")
    @ApiModelProperty(value = "回传数据设备唯一id")
    private String deviceUuid;

    @NotNull(message = "deviceCode参数缺失")
    @ApiModelProperty(value = "设备编码/设备型号")
    private String deviceCode;

    @NotNull(message = "status参数缺失")
    @ApiModelProperty(value = "设备状态（0:待机 1:运行 2:故障停机 3:保温）")
    private Integer status;

    @NotNull(message = "alarmCode参数缺失")
    @ApiModelProperty(value = "报警类型编码")
    private String alarmCode;

    @NotNull(message = "timeStamp参数缺失")
    @ApiModelProperty(value = "时间戳（精确到秒的采集时间）")
    private String timeStamp;

    @NotNull(message = "longitude参数缺失")
    @ApiModelProperty(value = "GPS经度")
    private BigDecimal longitude;

    @NotNull(message = "latitude参数缺失")
    @ApiModelProperty(value = "GPS纬度")
    private BigDecimal latitude;

    @NotNull(message = "year参数缺失")
    @ApiModelProperty(value = "")
    private String year;

    @NotNull(message = "month参数缺失")
    @ApiModelProperty(value = "")
    private String month;

    @NotNull(message = "day参数缺失")
    @ApiModelProperty(value = "")
    private String day;

}
